package com.ruoyi.msg.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 消息推送对象 msg_push
 *
 * @author xiaohao
 * @date 2023-02-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("msg_push")
public class MsgPush extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 消息接收者姓名
     */
    private Long appointorId;

    /**
     * 消息目标人员类型
     */
    private String targetType;

    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 推送类型
     */
    private String type;
    /**
     * 推送状态
     */
    private String status;
    /**
     * 是否读取
     */
    private String readFlag;

}
